package com.his.login.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @Author xiaoxiaoping
 * @Date 2020/2/5 11:04
 * @Version 1.0
 */
@Data
public class UpdatePasswordVo {
    /**
     * 原密码
     */
    @NotEmpty(message = "原密码不能为空")
    private String OLDEMPPASSWORD;

    /**
     * 新密码
     */
    @Size(min=3,max =12,message = "密码长度3到12位")
    private String NEWEMPPASSWORD;
    /**
     * 确认密码
     */
    @Size(min=3,max =12,message = "密码长度3到12位")
    private String CONFIRMPASSWORD;
}
